package com.woniuxy.school.dietary.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "修改订单使用的模型对象")
public class UpdateOrderFrom {
    @ApiModelProperty(value = "订单号")
    @NotNull(message = "订单号不能为空")
    private String orderNum;
    @ApiModelProperty(value = "地址")
    @NotNull(message = "地址不能为空")
    private String address;
    @ApiModelProperty(value = "电话")
    @NotNull(message = "电话不能为空")
    private String phone;
    @ApiModelProperty(value = "收餐人姓名")
    @NotNull(message = "收餐人姓名不能为空")
    private String receiveName;

}
